/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package GM;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Refinement Link</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link GM.RefinementLink#getId <em>Id</em>}</li>
 *   <li>{@link GM.RefinementLink#getType <em>Type</em>}</li>
 *   <li>{@link GM.RefinementLink#getTarget <em>Target</em>}</li>
 *   <li>{@link GM.RefinementLink#getMyFather <em>My Father</em>}</li>
 * </ul>
 * </p>
 *
 * @see GM.GMPackage#getRefinementLink()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='RefinementLoop'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL RefinementLoop='not target->includes(myFather)'"
 * @generated
 */
public interface RefinementLink extends EObject {
	/**
	 * Returns the value of the '<em><b>Id</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Id</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Id</em>' attribute.
	 * @see #setId(int)
	 * @see GM.GMPackage#getRefinementLink_Id()
	 * @model required="true"
	 * @generated
	 */
	int getId();

	/**
	 * Sets the value of the '{@link GM.RefinementLink#getId <em>Id</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Id</em>' attribute.
	 * @see #getId()
	 * @generated
	 */
	void setId(int value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * The literals are from the enumeration {@link GM.RefType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see GM.RefType
	 * @see #setType(RefType)
	 * @see GM.GMPackage#getRefinementLink_Type()
	 * @model required="true"
	 * @generated
	 */
	RefType getType();

	/**
	 * Sets the value of the '{@link GM.RefinementLink#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see GM.RefType
	 * @see #getType()
	 * @generated
	 */
	void setType(RefType value);

	/**
	 * Returns the value of the '<em><b>Target</b></em>' reference list.
	 * The list contents are of type {@link GM.Goal}.
	 * It is bidirectional and its opposite is '{@link GM.Goal#getSonOf <em>Son Of</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target</em>' reference list.
	 * @see GM.GMPackage#getRefinementLink_Target()
	 * @see GM.Goal#getSonOf
	 * @model opposite="sonOf" required="true"
	 * @generated
	 */
	EList<Goal> getTarget();

	/**
	 * Returns the value of the '<em><b>My Father</b></em>' reference.
	 * It is bidirectional and its opposite is '{@link GM.Goal#getRef <em>Ref</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>My Father</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>My Father</em>' reference.
	 * @see #setMyFather(Goal)
	 * @see GM.GMPackage#getRefinementLink_MyFather()
	 * @see GM.Goal#getRef
	 * @model opposite="ref" required="true"
	 * @generated
	 */
	Goal getMyFather();

	/**
	 * Sets the value of the '{@link GM.RefinementLink#getMyFather <em>My Father</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>My Father</em>' reference.
	 * @see #getMyFather()
	 * @generated
	 */
	void setMyFather(Goal value);

} // RefinementLink
